#ifndef __CONFIGMANAGER_H
#define __CONFIGMANAGER_H
#include <string>
#include <map>

class ConfigManager {
public:
    ConfigManager(const std::string& configFile);

    void loadConfig();

    void saveConfig();

    void updateConfig(const std::string& key, const std::string& value);

    std::string getConfig(const std::string& key);
    
private:
    std::map<std::string, std::string> configData;
    std::string configFile;
};


#endif
